/*
 * DataObject.h
 *
 *  Created on: 17.12.2011
 *      Author: serafim
 */

#ifndef DATAOBJECT_H_
#define DATAOBJECT_H_


class DataObject {
public:
	DataObject();
	~DataObject();

	void setId(int id){_id = id;}
	void setDownloads(int downloads){_downloads = downloads;}
	void setViews(int views){_views = views;}
	void setPosition(int pos){_position=pos;}

    int getDownloads() const;
    int getId() const;
    int getViews() const;
    int getPosition() const;
private:
    int _id;
    int _downloads;
    int _views;
    int _position;
    // остальные атрибуты
};


#endif /* DATAOBJECT_H_ */
